package com.shop.cereshop.app.dao.buyer;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.commons.domain.buyer.CerePetSearch;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface CerePetSearchDAO extends BaseMapper<CerePetSearch> {

    List<CerePetSearch> selectPetSearch(Long userId);

    CerePetSearch selectPetSearchByContentAndUserId(@Param("searchContent") String searchContent, @Param("userId") Long userId);
}
